<%@page import="classeMetier.Project"%><%@page import="java.io.PrintWriter"%><%@ page contentType="text/html;charset=UTF-8" %><%@ page import="java.sql.*" %><%@ page import="java.sql.DriverManager" %><%@ page import="java.sql.ResultSet" %><% 
classeMetier.ObjectDB db = new classeMetier.ObjectDB();
try{
	db.initialiseConnexion();
	classeMetier.Project myproject = new Project(db,
		request.getParameter("project_id"),
		request.getParameter("project_name"),
		request.getParameter("project_description")
	);
	
	if(myproject.editDB()){
		out.print("Le projet a bien été enregistrée");
	}
	db.closeConnexion();
	
}catch(Exception e){
	response.setStatus(507,e.getMessage());
}
%>
